<?php $this->load->view(TEMPLATE_NAME.'/front/header'); ?>
<?php $this->load->view(TEMPLATE_NAME.'/front/side_left'); ?>
<script type="text/javascript" src="<?php echo base_url()?>js/jquery.validate.pack.js"></script>
<div class="page">
<h2>RESET YOUR PASSWORD</h2>
<p class="f13 black">Welcome back - you can now choose a new password below</p>
<hr/>
<?php 
$form_atribute = array('class'=>'formstep','id' => 'signup_form');
echo form_open('directory/reset_password/'.$username.'/'.$reset_password_code,$form_atribute);
 ?>
<br/>
<label>Password: <strong class="purple">*</strong></label><?php echo form_password(array('name' => 'password', 'id' => 'password')); ?><br/>
<?php echo form_error('password','<p id="error_recaptcha" class="alert"><strong>Error:</strong>','</p>') ?>
<label>Retype Password: <strong class="purple">*</strong></label><?php echo form_password(array('name' => 'retype_password', 'id' => 'retype_password')); ?><br/>
<?php echo form_error('retype_password','<p id="error_recaptcha" class="alert"><strong>Error:</strong>','</p>') ?>
<!--
<p class="inform f12"><strong>Ok, we've sent the instructions to your email. Go check it!</strong> <br/>
You can use a nickname or your real name. <span class="purple">(This can be changed at any time.)</span></p>
-->
<hr/>
<?php 
$form_button = array(
  'type'=>'submit',
  'name'=>'submit',
  'value'=>'submit',
  'content'=>'Submit',
);
echo form_button($form_button) ?>

<div class="clear"></div>
<?php echo form_close(); ?><!-- formstep -->

</div>
<?php $this->load->view(TEMPLATE_NAME.'/front/side_right'); ?>
<?php $this->load->view(TEMPLATE_NAME.'/front/footer'); ?>
